//
//  UIButton+Extension.swift
//  Weibo
//
//  Created by Apple on 16/11/13.
//  Copyright © 2016年 Wbw. All rights reserved.
//

import UIKit

extension UIButton {
    convenience init(title: String, fontSize: CGFloat, textColor: UIColor) {
        self.init()
        self.setTitle(title, for: .normal)
        self.titleLabel?.font = UIFont.systemFont(ofSize: fontSize)
        self.setTitleColor(textColor, for: .normal)
    }
}
